import random
"""___第一个小游戏___"""
secret=random.randint(1,10)
temp=input("不妨猜一下小甲鱼心里想的数字？")
guess=int(temp)
times=1
while (guess!=secret)and(times<=3):
    if guess>secret:
        print("大了大了")
    else:
        print("小了小了")
    temp=input("请再试一下：")
    guess=int(temp)
    times=times+1
if(times<=3)and(guess==secret):
    print("对了")
else:
    print("三次都没猜对")
print("duile对了")
print("游戏结束")
